System for processing asynchronous sensor data

ABSTRACT

A sensor synchronization system for a sensor apparatus. The system synchronizes a local clock signal with an external timing signal. For example, the external timing signal may correspond to a pulse per second (PPS) signal received from a global positioning system (GPS) receiver. The system further generates a plurality of sensor pulses that are each offset in phase relative to the local clock signal by a respective amount. The system then receives sensor data from the sensor apparatus, and determines a timing of the sensor data in relation to the local clock signal based at least in part on the plurality of sensor pulses.

TECHNICAL FIELD

Examples described herein relate to autonomous vehicles, and more specifically, to acquiring time-synchronized sensor data for controlling autonomous vehicles.

BACKGROUND

Autonomous vehicles have replaced human drivers with computer-implemented intelligence to control and/or drive the vehicle. Autonomous vehicles typically utilize a number of sensors and other automation technology to help navigate the surrounding environment. For example, three-dimensional (3D) sensing technology may be used to map a vehicle's local environment and larger surrounding areas. This enables an autonomous vehicle to safely navigate and traverse terrain while avoiding both static objects (e.g., trees, structures, drop-offs, etc.) and dynamic objects (e.g., people, animals, vehicles, etc.) in its path.

3D sensing technology relies on real-time sensor data from a number of sensors to construct a 3D image of the surrounding environment. However, the timing of the sensor data is important to accurately construct the 3D image, especially when the autonomous vehicle is traveling at high speeds.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows a block diagram of a control system for operating an autonomous vehicle in accordance with example implementations.

FIG. 2 shows a block diagram of a sensor synchronization system that may be used to synchronize sensor data across multiple sensors and sensor apparatuses.

FIG. 3 shows a timing diagram depicting an example method for generating a number of sensor pulses based on a local clock signal.

FIGS. 4A-4C show timing diagrams depicting example methods for triggering time-synchronized capture of sensor data.

FIG. 5 shows a timing diagram depicting an example method for determining a timing of asynchronous sensor data in relation to a local clock signal.

FIG. 6 shows an example of an autonomous vehicle that uses sensor data to navigate an environment in accordance with example implementations.

FIG. 7 shows a flowchart of an example operation for triggering time-synchronized capture of sensor data.

FIG. 8 shows a flowchart of an example operation for determining a timing of asynchronous sensor data in relation to a local clock signal.

FIG. 9 shows a flowchart of an example operation for formatting sensor data for use by an autonomous vehicle platform.

FIG. 10 shows a block diagram of a sensor control system that may be implemented on an autonomous vehicle, in accordance with example embodiments.

DETAILED DESCRIPTION

Examples described herein provide for a sensor synchronization system that may be used to process sensor data captured by a plurality of sensors based at least in part on a local clock signal. The system may determine a timing of the captured sensor data in relation to the local clock signal, thus allowing the sensor data to be used for controlling and/or navigating an autonomous vehicle. In particular, the timing information may be used to combine the received sensor data with other sensor data received at substantially the same time to generate a three-dimensional (3D) image of the vehicle's surrounding environment.

According to some examples, the sensor synchronization system synchronizes the local clock signal with an external timing signal. The external timing signal may correspond to a pulse per second (PPS) signal received from a global positioning system (GPS) receiver. The system further generates a plurality of sensor pulses that are each offset in phase relative to the local clock signal by a respective amount. The system then receives sensor data from a first sensor apparatus and determines a timing of the sensor data in relation to the local clock signal based at least in part on the plurality of sensor pulses.

In generating the plurality of sensor pulses, for example, the sensor synchronization system may divide a clock cycle of the local clock signal into a number of timing intervals and align each of the plurality of sensor pulses with a respective one of the timing intervals. For example, the number of timing intervals may be based at least in part on a framerate or resolution of a second sensor apparatus. In some aspects, the second sensor apparatus may be a machine vision camera for an autonomous vehicle.

The timing of the sensor data may correspond to a time at which the sensor data was captured by the first sensor apparatus. For example, in determining the time timing of the sensor data, the sensor synchronization system may determine which of the plurality of sensor pulses coincides with the time at which the sensor data was captured.

Still further, in some examples, the first sensor apparatus may include at least one of an inertial measurement unit (IMU), a rotary encoder, or radar. In some aspects, the received sensor data may be used, in conjunction with a machine vision camera, to generate a 3D sensor image for navigating the autonomous vehicle.

One or more embodiments described herein provide that methods, techniques, and actions performed by a computing device are performed programmatically, or as a computer-implemented method. Programmatically, as used herein, means through the use of code or computer-executable instructions. These instructions can be stored in one or more memory resources of the computing device. A programmatically performed step may or may not be automatic.

One or more embodiments described herein can be implemented using programmatic modules, engines, or components. A programmatic module, engine, or component can include a program, a sub-routine, a portion of a program, or a software component or a hardware component capable of performing one or more stated tasks or functions. As used herein, a module or component can exist on a hardware component independently of other modules or components. Alternatively, a module or component can be a shared element or process of other modules, programs or machines.

Numerous examples are referenced herein in context of an autonomous vehicle. An autonomous vehicle refers to any vehicle which is operated in a state of automation with respect to steering and propulsion. Different levels of autonomy may exist with respect to autonomous vehicles. For example, some vehicles today enable automation in limited scenarios, such as on highways, provided that drivers are present in the vehicle. More advanced autonomous vehicles drive without any human driver inside the vehicle. Such vehicles often are required to make advance determinations regarding how the vehicle is behave given challenging surroundings of the vehicle environment.

As described herein, “time-synchronized sensor data” refers to sensor data that may be captured or acquired by respective sensors at the direction of a system controller (e.g., in response to triggers or activation commands) in synchronization with a local clock signal. For example, the capture of time-synchronized sensor data may be timed in accordance with a predetermined schedule known to the system controller. In contrast, “asynchronous sensor data” refers to sensor data that is not captured or acquired according to any known schedule. For example, the asynchronous sensor data may be captured by respective sensors that operate independently (e.g., not under the direct control of the system controller), and may thus be received at unpredictable times.

System Description

FIG. 1 shows a block diagram of a control system 100 for operating an autonomous vehicle in accordance with example implementations. The control system 100 includes a sensor synchronization controller 110, a system controller 120, and a vehicle interface subsystem (VIS) 90. In an example of FIG. 1, the control system 100 is used to autonomously operate a vehicle (not shown for simplicity) in a given geographic region for a variety of purposes, including transport services (e.g., transport of humans, delivery services, etc.). In examples described, an autonomously operated vehicle can drive and/or navigate without human intervention. For example, in the context of automobiles, an autonomously driven vehicle can steer, accelerate, shift, brake and operate lighting components. Some variations also recognize that an autonomous-capable vehicle can be operated autonomously, manually, or a combination of both.

In an example of FIG. 1, the control system 100 utilizes a number of sensor resources to intelligently guide or navigate the vehicle through a given environment. For example, the control system may include a number of sensor apparatuses (SA) 101, 103, and 105 that generate respective sensor data 111, 113, and 115. Each sensor apparatus may include one or more sensors that may capture a particular type of information about the surrounding environment. In an example of FIG. 1, the first sensor apparatus 101 may include a number of camera modules that can capture still images and/or videos (e.g., as sensor data 111); the second sensor apparatus 103 may include a laser rangefinder that can determine distance information to nearby objects (e.g., as sensor data 113) using laser ranging techniques; and the third sensor apparatus 105 may include an inertial measurement unit (IMU) that can detect velocity, orientation, and/or gravitational information (e.g., as sensor data 115) pertaining to the autonomous vehicle.

The control system 100 of FIG. 1 is not limited to the sensors described in the examples herein. In some implementations, the control system 100 may include fewer or more sensor apparatuses and/or types of sensors than described herein with respect to FIG. 1. For example, the control system 100 may further include proximity sensors, touch sensors, photosensors, sonar, radar, rotary encoders, and/or any other sensors technology that may be used to detect and/or gather information about the surrounding environment.

In example implementations, the sensor data 111-115 may be combined to provide a computerized perception of the space and environment surrounding the vehicle. For example, the first sensor apparatus 101 may correspond, at least in part, to a machine vision camera that can be used to generate a three-dimensional (3D) representation of the surrounding environment. For example, still images (e.g., included with sensor data 111) from multiple camera modules of the first sensor apparatus 101 may be “stitched” together to generate a 3D (e.g., stereoscopic) sensor image. The 3D sensor image may indicate the size and distance of objects in the vicinity of the autonomous vehicle (e.g., within viewable range of the sensor apparatus 101). In order to generate an accurate 3D sensor image of the environment at any given time, the machine vision camera relies on sensor data that was captured or acquired at that particular instance of time. Attempting to synthesize multiple images captured at different instances of time may result in optical distortions in the 3D sensor image.

Conventional machine vision cameras operate in an asynchronous manner. For example, individual camera modules may capture images at various times and/or framerates independent of other camera modules within the machine vision camera. Thus, a processor of the machine vision camera would typically have to determine and resolve any discrepancies in the timing of sensor data received from each of the camera modules before it can use the sensor data to construct a 3D sensor image. This process becomes even less efficient as the demand for sensor data increases (e.g., due to increased framerates and/or number of camera modules). Therefore, conventional machine vision cameras may not be efficient or accurate enough for creating real-time 3D sensor images that can be used to safely navigate an autonomous vehicle, especially at high speeds (e.g., 60+ mph).

The example implementations recognize that, in order to satisfy the machine vision demands of autonomous vehicles, it may be desirable to capture sensor data from multiple sensors in a time-synchronized manner. Thus, in example implementations, activation of at least some of the sensor apparatuses 101, 103, and 105 (e.g., to capture or acquire sensor data) may be directly controlled by the control system 100 and/or sensor synchronization controller 110. In an example of FIG. 1, sensor apparatuses 101 and 103 may capture sensor data 111 and 113 in response to triggers 112 and 114, respectively, from the sensor synchronization controller 110. As described in greater detail below with respect to FIGS. 4A-4C, the triggers 112 and 114 may cause individual sensors of the sensor apparatuses 101 and 103 to capture respective sensor data in a time-synchronized manner.

In some implementations, the sensor synchronization controller 110 may send the triggers 112 and 114 to the respective sensor apparatuses 101 and 103 in accordance with a sensor activation schedule. For example, the sensor activation schedule may be a predetermined schedule for activating the sensor apparatuses 101 and 103. More specifically, the sensor activation schedule may indicate what sensors are to be activated at what times. The sensor activation schedule may be user configured or programmatically generated by the control system 100, for example, based on one or more operating parameters of the autonomous vehicle (e.g., vehicle speed, vehicle function, desired framerate or resolution, etc.). In some aspects, the sensor activation schedule may be synchronized with a local clock signal (CLK) 126 of the control system 100. For example, the local clock signal 126 may be a shared clock signal that is used by other components and/or elements of the control system 100 for timing purposes. Synchronizing the sensor activation schedule with the local clock signal 126 allows the timing of the sensor data 111 and/or 113 to be quickly determined with respect to a common reference timing signal.

In some aspects, one or more sensors of the first sensor apparatus 101 may capture sensor data at substantially the same time as other sensors of the first sensor apparatus 101. In other aspects, at least some of the sensor data 111 captured by the first sensor apparatus 101 may coincide, temporally, with at least some of the sensor data 113 captured by the second sensor apparatus 103. The time-synchronized sensor data 111 and/or 113 may be quickly and accurately combined to generate 3D sensor images that can be used for navigating the autonomous vehicle. Moreover, by controlling the precise times at which the sensor data 111 and/or 113 is captured (e.g., according to a sensor activation schedule), the control system 100 may reliably update the 3D sensor image even when the vehicle is travelling at high speeds.

The example implementations further recognize that the control system 100 may include one or more asynchronous sensors (e.g., sensor apparatus 105). For example, the third sensor apparatus 105 may not respond to triggers from the sensor synchronization controller 110. Rather, the asynchronous sensor apparatus 105 may capture sensor data 115 at preconfigured rates and/or times (e.g., in reaction to changes in the environment, based on its own internal clock, in response to manual input, etc.). In example implementations, the sensor synchronization controller 110 may determine a relative timing of the asynchronous sensor data 115 with respect to the local clock signal 126. This may enable the sensor data 115 to be used by other processors and/or components of the control system 100. For example, the sensor data 115 may be combined with similarly-timed sensor data 111 and/or 113 to generate a 3D sensor image at the given instance of time.

The sensor synchronization controller 110 may correspond to a dedicated processing resource, such as a field programmable gate array (“FPGA”), that receives and/or processes raw sensor data 111-115 received from the sensor apparatuses 101-105. More specifically, the sensor synchronization controller 110 may convert the raw sensor data 111-115 to clock-synchronized (CS) sensor data 117. In example implementations, the CS sensor data 117 may be formatted for a particular communications platform implemented by the control system 100. In some aspects, the sensor synchronization controller 110 may convert the raw sensor data 111-115 into a platform-specific format (e.g., as CS sensor data 117) by adding a timestamp to the sensor data indicating the time at which the corresponding sensor data is captured or acquired in relation to the local clock signal 126. For example, the timestamp may be based on a sensor activation schedule used to trigger activation of individual sensors in the sensor apparatuses 101 and/or 103. In another example, the timestamp may be based on a phase or timing of the local clock signal 126 when the sensor data 115 is acquired. Still further, in some aspects, the sensor synchronization controller 110 may add additional parameters or fields (e.g., header, footer, status bit, etc.) to the raw sensor data 111-115 when converting the sensor data to CS sensor data 117.

The system controller 120 may utilize the CS sensor data 117 to intelligently guide or navigate the vehicle through a given environment. For example, the system controller 120 may control operations of the vehicle such as steering, accelerating, and braking as the vehicle progresses to a destination. In some aspects, the system controller 120 may trigger vehicle control actions (e.g., braking, steering, accelerating) and/or perform route planning based at least in part on the CS sensor data 117. In other aspects, the system controller 120 may use the CS sensor data 117 to provide additional inputs for the vehicle (e.g., transmissions from remote or local human operators, network communication from other vehicles, etc.). Still further, in some aspects, the system controller 120 may communicate the CS sensor data 117 to one or more remote devices.

In example implementations, the system controller 120 includes sensor mapping logic 122 and vehicle control logic 128. In some aspects, the system controller 120 may also include clock generation circuitry 124 to generate the local clock signal 126 to be used by other elements of the control system 100 (e.g., for timing purposes). The sensor mapping logic 122 creates a sensor model 125 based on the CS sensor data 117. More specifically, the sensor mapping logic 122 may combine CS sensor data 117 from multiple sensor apparatuses 101, 103, and/or 105 to create a more detailed description of the surrounding environment (e.g., provided as the sensor model 125) that can be used to more effectively navigate the vehicle through the environment. For example, the sensor model 125 may include information pertaining to detected objects in the vicinity of the vehicle and/or contextual information about the object, surroundings, and/or geographic region, for purposes of making predictive determinations to avoid collisions.

In some aspects, the sensor model 125 may include a 3D sensor image of the surrounding environment. For example, the 3D sensor image may include image data, captured by multiple camera modules (e.g., of sensor apparatus 101), stitched together to create stereoscopic images of the surrounding environment. The stereoscopic images may be used to detect the presence and/or distances of objects in the vicinity of the vehicle. In some examples, the image data may be combined with laser rangefinder data to produce a more complete picture of the surrounding environment. In some aspects, the laser rangefinder data may complement the image data for purposes of detecting objects that may not be detectable from the image data alone. In other aspects, the laser rangefinder data may be used to check or validate the image data, and vice-versa.

The vehicle control logic 128 generates vehicle commands (CV) 85 based at least in part on the sensor model 125. More specifically, the vehicle control logic 128 may control the vehicle by issuing instructions and data (e.g., vehicle commands 85) that programmatically control various electromechanical interfaces of the vehicle. The vehicle commands 85 can serve to control operational aspects of the vehicle, including propulsion, braking, steering, and auxiliary behavior (e.g., turning lights on). In example implementations, the vehicle control logic 128 utilizes the sensor model 125 to navigate the vehicle through a given environment (e.g., by issuing respective vehicle commands 85). For example, the vehicle commands 85 may specify actions that correlate to one or multiple vehicle control mechanisms (e.g., steering mechanism, brakes, etc.). More specifically, the vehicle commands 85 may specify the actions, along with attributes such as magnitude, duration, directionality or other operational characteristic of the vehicle 10.

The vehicle interface subsystem 90 processes the vehicle commands 85 to control one or more operations of the vehicle. The vehicle interface subsystem 90 may include one or more vehicle controllers 84 that process and/or carry out the vehicle commands 85 issued by the vehicle control logic 128. More specifically, the vehicle controllers 84 may process the vehicle commands 85 as inputs to control propulsion, steering, braking, and/or other mechanical (or electrical) behavior of the vehicle. For example, while the vehicle follows a particular route, the controllers 84 may continuously adjust and/or alter the movement of the vehicle in response to vehicle commands 85 provided (e.g., in real-time) by the vehicle control logic 128.

In example implementations, the controllers 84 translate the vehicle commands 85 into control signals (CS) 119 for respective interfaces of the vehicle interface subsystem 90. For example, the vehicle interface subsystem 90 may include: a propulsion interface 92 to electrically (or through programming) control a propulsion component (e.g., a gas pedal), a steering interface 94 for a steering mechanism, a braking interface 96 for a braking component, and lighting/auxiliary interface 98 for exterior lights of the vehicle. The control signals 119 may be electrical signals that correlate to the specified vehicle action by virtue of electrical characteristics that have attributes for magnitude, duration, frequency or pulse, or other electrical characteristics.

FIG. 2 shows a block diagram of a sensor synchronization system 200 that may be used to synchronize sensor data across multiple sensors and sensor apparatuses. The sensor synchronization system 200 includes a local clock signal (CLK) generator 210, a sensor pulse generator 220, pulse distribution logic 230, and a sensor data acquisition interface 240. In example implementations, the sensor synchronization system 200 may be used to capture time-synchronized sensor data (e.g., by triggering activation of sensor apparatuses 101 and 103 of the control system 100) and/or determine timing information for asynchronous sensor data (e.g., received from sensor apparatus 105 of the control system 100).

The local CLK generator 210 generates a local clock signal 214 that may be used for timing purposes by other elements and/or components of an autonomous vehicle. More specifically, the local clock signal 214 may serve as a reference timing signal for synchronizing various components of the autonomous vehicle. In some implementations, the local CLK generator 210 may generate the local clock signal 214 based on an external timing signal. For example, the external timing signal may be a pulse per second (PPS) signal 201 received from a global positioning satellite (GPS) receiver (not shown). The PPS signal 201 may be a highly accurate and reliable external timing signal (e.g., derived from satellite signals) with which to align the local clock signal 214.

In some aspects, the local CLK generator 210 may include CLK synchronization circuitry 212 to periodically adjust or align a phase of the local clock signal 214 with a phase of the PPS signal 201. For example, the CLK synchronization circuitry 212 may perform the phase alignment each time a new pulse is received on the PPS signal 201 (e.g., every second). In some implementations, the CLK synchronization circuitry 212 may include a phase-locked loop (PLL) that generates the local clock signal 214 based at least in part on the PPS signal 201. More specifically, the PLL circuit may lock the phase of the local clock signal 214 to the phase of the PPS signal 201.

The sensor pulse generator 220 generates a number of sensor pulses (SP) 222(1)-222(N) based on the local clock signal 214. In example implementations, each of the sensor pulses 222(1)-222(N) may be offset in phase, relative to the local clock signal 214, by a respective amount. Because the sensor pulses 222(1)-222(N) are generated based on the local clock signal CLK, the sensor pulse generator 220 may update the sensor pulses 222(1)-222(N) in response to changes to the local clock signal CLK. Furthermore, the number (N) of sensor pulses 222(1)-222(N) generated, per clock cycle of the local clock signal 214, may depend on a desired granularity of timing. For example, a higher granularity (e.g., corresponding to more sensor pulses) may yield more precise timing information.

In some implementations, the granularity of timing may correspond, at least in part, with a resolution 203 of one or more sensor apparatuses. The resolution 203 may correspond to a desired rate (e.g., framerate) or amount of sensor activity to be captured within a given clock cycle of the local clock signal 124. In some aspects, the resolution 203 may be a user-configured input. In other aspects, the resolution 203 may be programmatically determined, at least in part, based on one or more operating parameters of the autonomous vehicle (e.g., vehicle speed, vehicle function, GPS coordinates, etc.).

FIG. 3 shows a timing diagram 300 depicting an example method for generating a number of sensor pulses based on a local clock signal. In the example of FIG. 3, the desired resolution 203 may be six frames per second. As described above, the local clock signal CLK may be synchronized with a PPS signal 201, and therefore has a clock cycle of one second (e.g., from times t₁ to t₇). Thus, the sensor pulse generator 220 may generate six sensor pulses SP1-SP6 for every clock cycle of the local clock signal. For example, the sensor pulse generator 220 may divide the clock cycle of the local clock signal CLK into six timing intervals of equal duration.

The sensor pulse generator 220 may generate the sensor pulses SP1-SP6 such that each sensor pulse coincides with a corresponding timing interval. Accordingly, the first sensor pulse is asserted and/or aligned with the start of the first timing interval (e.g., at time t₁); the second sensor pulse is asserted and/or aligned with the start of the second timing interval (e.g., at time t₂); the third sensor pulse is asserted and/or aligned with the start of the third timing interval (e.g., at time t₃); the fourth sensor pulse is asserted and/or aligned with the start of the fourth timing interval (e.g., at time t₄); the fifth sensor pulse is asserted and/or aligned with the start of the fifth timing interval (e.g., at time t₅); and the sixth sensor pulse is asserted and/or aligned with the start of the sixth timing interval (e.g., at time t₆). Each successive sensor pulse is offset in phase from the preceding sensor pulse by exactly one timing interval. In other words, with respect to the local clock signal CLK, SP1 is in-phase, SP2 is phase offset by 1 timing interval (˜166 ms), SP3 is phase offset by 2 timing intervals (˜333 ms), SP4 is phase offset by 3 timing intervals (˜500 ms), SP5 is phase offset by 4 timing intervals (˜666 ms), and SP6 is phase offset by 5 timing intervals (˜833 ms). Thus, the timing of each of the sensor pulses may be determined from the timing of the local clock signal CLK.

The pulse distribution logic 230 controls the activation of one or more sensors (e.g., to capture sensor data at a given instance in time) based at least in part on the sensor pulses 222(1)-222(N). In example implementations, the pulse distribution logic 230 may package or distribute one or more of the sensor pulses 222(1)-222(N) as triggers 232 for activating each of a plurality of sensors. In some aspects, the pulse distribution logic 230 may send a respective trigger 232 (e.g., that includes one or more of the sensor pulses 222(1)-222(N)) to each sensor in accordance with a sensor activation schedule 205. As described above, the sensor activation schedule 205 may be a predetermined schedule for activating one or more sensors of a sensor apparatus (e.g., indicating which sensors are to be activated at what times). Moreover, the sensor activation schedule 205 may be user configured or programmatically generated based, at least in part, on one or more operating parameters of the autonomous vehicle (e.g., vehicle speed, desired sensor framerate or resolution, etc.).

Table 1 shows an example sensor activation schedule that may be used to trigger and/or control activation of six individual camera modules (C1-C6) of a machine vision camera. With reference to Table 1, a “1” indicates that the camera is to be activated at the given instance of time, whereas a “0” indicates that the camera is not to be activated at the given time. The sensor activation schedule below shows the sensor activation times for a single clock cycle of a local clock signal. In some aspects, the sensor activation schedule of Table 1 may be repeated or reused for subsequent clock cycles of the local clock signal. In other aspects, the sensor activation schedule of Table 1 may be modified or substituted for other sensor activation schedules in subsequent clock cycles.

TABLE 1 Time C1 C2 C3 C4 C5 C6 SP t₁ 1 1 1 1 1 1 SP1 t₂ 1 1 1 1 1 1 SP2 t₃ 1 1 1 1 1 1 SP3 t₄ 1 1 1 1 1 1 SP4 t₅ 1 1 1 1 1 1 SP5 t₆ 1 1 1 1 1 1 SP6

In the example sensor activation schedule of Table 1, each of the camera modules C1-C6 is scheduled to capture sensor (e.g., image) data at each interval of a clock cycle, from times t₁-t₆. In other words, the framerate of each of the camera modules C1-C6 is 6 frames per second. Thus, in order to capture time-synchronized sensor data from each of the camera modules C1-C6 at the desired framerate, the pulse distribution logic 230 may provide or distribute the six sensor pulses SP1-SP6 to each of the camera modules C1-C6. For example, each camera module may receive a respective trigger 232 that includes the sensor pulses SP1, SP2, SP3, SP4, SP5, and SP6, causing each camera module to capture image data at times t₁, t₂, t₃, t₄, t₅, and t₆, respectively.

FIG. 4A shows a timing diagram 400A depicting an example implementation of the sensor activation schedule of Table 1 for a single clock cycle of a local clock signal (e.g., from times t₁-t₇). For example, at time t₁, each of the camera modules C1-C6 captures respective sensor data in response to the first sensor pulse SP1; at time t₂, each of the camera modules C1-C6 captures respective sensor data in response to the second sensor pulse SP2; at time t₃, each of the camera modules C1-C6 captures respective sensor data in response to the third sensor pulse SP3; at time t₄, each of the camera modules C1-C6 captures respective sensor data in response to the fourth sensor pulse SP4; at time t₅, each of the camera modules C1-C6 captures respective sensor data in response to the fifth sensor pulse SP5; and at time t₆, each of the camera modules C1-C6 captures respective sensor data in response to the sixth sensor pulse SP6.

As shown in the example of FIG. 4A, at any given time t₁-t₆, the sensor data captured by each of the camera modules C1-C6 is time-synchronized (e.g., aligned temporally). Because the timing of the sensor pulses SP1-SP6 is known (e.g., with respect to the local clock signal CLK), and because the camera modules C1-C6 are activated in accordance with a predetermined (e.g., fixed) sensor activation schedule, the timing of the sensor data from each of the camera modules C1-C6 may be accurately and reliably determined by a control system for an autonomous vehicle. This enables the sensor data to be quickly and accurately combined to generate 3D sensor images (e.g., in real-time) that can be used for navigating an autonomous vehicle.

In some implementations, some of the camera modules C1-C6 may operate at different times and/or framerates. For example, certain sensors may be more critical to the vehicle's operations, and therefore require higher resolution, than other sensors. Moreover, an autonomous vehicle may include a vast number of sensors (e.g., 20+ camera modules) that assist with vehicle navigation and/or other functions. Attempting to capture sensor data from all of the sensors at the same time may create a bottleneck in the vehicle's control system (e.g., depending on the bandwidth or capacity of the vehicle's communications infrastructure, processors, and/or memory). Thus, in some instances, it may be desirable to offset the activation of individual sensors to prevent overloading the communications bandwidth of the vehicle control system.

Table 2 shows an example sensor activation schedule that may be used to operate camera modules C1 and C2 at 3 frames per second while operating camera modules C3-C6 operate at 2 frames per second. The timing of camera modules C3 and C4 may be offset relative to the timing of camera modules C5 and C6, for example, to avoid bottlenecks in the communication of sensor data. With reference to Table 2, a “1” indicates that the camera is to be activated at the given instance of time, whereas a “0” indicates that the camera is not to be activated at the given time. The sensor activation schedule below shows the sensor activation times for a single clock cycle of a local clock signal. In some aspects, the sensor activation schedule of Table 2 may be repeated for subsequent clock cycles of the local clock signal. In other aspects, the sensor activation schedule of Table 2 may be modified or substituted for other sensor activation schedules in subsequent clock cycles.

TABLE 2 Time C1 C2 C3 C4 C5 C6 SP t₁ 1 1 0 0 0 0 SP1 t₂ 0 0 1 1 0 0 SP2 t₃ 1 1 0 0 1 1 SP3 t₄ 0 0 0 0 0 0 SP4 t₅ 1 1 1 1 0 0 SP5 t₆ 0 0 0 0 1 1 SP6

In the example sensor activation schedule of Table 2, each of the camera modules C1 and C2 is scheduled to capture sensor (e.g., image) data three times per clock cycle (e.g., 3 frames per second), at times t₁, t₃, and t₅. Each of the camera modules C3 and C4 is scheduled to capture sensor data twice per clock cycle (e.g., 2 frames per second), at times t₂ and t₅; and each of the camera module C5 and C6 is scheduled to captures sensor data twice per clock cycle (e.g., 2 frames per second), at times t₃ and t₆. Accordingly, the pulse distribution logic 230 may provide or distribute the first sensor pulse SP1 to camera modules C1 and C2, the second sensor pulse SP2 to camera modules C2 and C3, the third sensor pulse SP3 to camera modules C1, C2, C5, and C6, the fifth sensor pulse SP5 to camera modules C1-C4, and the sixth sensor pulse SP6 to camera modules C5 and C6. Because no camera module is activated at time t₄, the fourth sensor pulse SP4 may not be distributed to any of the camera modules C1-C6.

FIG. 4B shows a timing diagram 400B depicting an example implementation of the sensor activation schedule of Table 2 for a single clock cycle of a local clock signal (e.g., from times t₁-t₇). For example, at time t₁, each of the camera modules C1 and C2 captures respective sensor data in response to the first sensor pulse SP1; at time t₂, each of the camera module C3 and C4 captures respective sensor data in response to the second sensor pulse SP2; at time t₃, each of the camera modules C1, C2, C5, and C6 captures respective sensor data in response to the third sensor pulse SP3; at time t₅, each of the camera modules C1-C4 captures respective sensor data in response to the fifth sensor pulse SP5; and at time t₆, each of the camera modules C5 and C6 captures respective sensor data in response to the sixth sensor pulse SP6. No sensor data is captured at time t₄.

As shown in the example of FIG. 4B, sensor data captured by camera modules C1 and C2 may be combined to generate 3D sensor images at times t₁, t₃, and t₅; sensor data captured by camera modules C3 and C4 may be combined to generate 3D sensor images at times t₂ and t₅; and sensor data captured by camera modules C5 and C5 may be combined to generate 3D sensor images at times t₃ and t₆. Still further, at time t₃, the sensor data captured by camera modules C1 and C2 coincides (e.g., is time-synchronized) with the sensor data captured by camera modules C5 and C6. Thus, in some aspects, the sensor data captured by camera modules C1, C2, C5, and C6 may be combined to generate a more detailed and/or complete 3D sensor image at time t₃. Similarly, at time t₅, the sensor data captured by camera modules C1 and C2 coincides with the sensor data captured by camera modules C3 and C4. Thus, in some aspects, the sensor data captured by camera modules C1-C4 may be combined to generate a more detailed and/or complete 3D sensor image at time t₅.

Still further, in some implementations, a timing schedule may describe sensor activation times for multiple sensor apparatuses and/or sensors of different types. For example, in some aspects, it may be desirable to schedule the capture of camera data in synchronization with the capture laser rangefinder data (e.g., to generate a more complete 3D sensor image and/or use one type of sensor data to check or verify the information derived from the other type of sensor data).

Table 3 shows an example sensor activation schedule that may be used to operate each of the camera modules C1-C6 at 1 frame per second while concurrently operating a laser rangefinder (LR) at 6 frames per second. The timing of each of the camera modules C1-C6 may be offset, for example, to avoid bottlenecks in the communication of sensor data. With reference to Table 3, a “1” indicates that a corresponding sensor is to be activated at the given instance of time, whereas a “0” indicates that the sensor is not to be activated at the given time. The sensor activation schedule below shows the sensor activation times for a single clock cycle of a local clock signal. In some aspects, the sensor activation schedule of Table 3 may be repeated for subsequent clock cycles of the local clock signal. In other aspects, the sensor activation schedule of Table 3 may be modified or substituted for other sensor activation schedules in subsequent clock cycles.

TABLE 3 Time C1 C2 C3 C4 C5 C6 LR SP t₁ 1 0 0 0 0 0 1 SP1 t₂ 0 1 0 0 0 0 1 SP2 t₃ 0 0 1 0 0 0 1 SP3 t₄ 0 0 0 1 0 0 1 SP4 t₅ 0 0 0 0 1 0 1 SP5 t₆ 0 0 0 0 0 1 1 SP6

In the example sensor activation schedule of Table 3, each of the camera modules C1, C2, C3, C4, C5, and C6 is scheduled to capture sensor (e.g., image) data once per clock cycle (e.g., 1 frame per second), at times t₁, t₂, t₃, t₄, t₅, and t₆, respectively. In addition, the laser rangefinder is scheduled to capture sensor (e.g., distance) data six times per clock cycle (e.g., 6 frames per second), at each time interval from times t₁-t₆. Accordingly, the pulse distribution logic 230 may provide or distribute the first sensor pulse SP1 to the laser rangefinder and camera module C1, the second sensor pulse SP2 to the laser rangefinder and camera module C2, the third sensor pulse SP3 to the laser rangefinder and camera module C3, the fourth sensor pulse SP4 to the laser rangefinder and camera module C4, the fifth sensor pulse SP5 to the laser rangefinder and camera module C5, and the sixth sensor pulse SP6 to the laser rangefinder and camera module C6.

FIG. 4C shows a timing diagram 400C depicting an example implementation of the sensor activation schedule of Table 3 for a single clock cycle of a local clock signal (e.g., from times t₁-t₇). For example, at time t₁, the laser rangefinder and camera module C1 capture respective sensor data in response to the first sensor pulse SP1; at time t₂, the laser rangefinder and camera module C2 capture respective sensor data in response to the second sensor pulse SP2; at time t₃, the laser rangefinder and camera module C3 capture respective sensor data in response to the third sensor pulse SP3; at time t₄, the laser rangefinder and camera module C4 capture respective sensor data in response to the fourth sensor pulse SP4; at time t₅, the laser rangefinder and camera module C5 capture respective sensor data in response to the fifth sensor pulse SP5; and at time t₆, the laser rangefinder and camera module C6 capture respective sensor data in response to the sixth sensor pulse SP6.

As shown in the example of FIG. 4C, image data captured by camera module C1, C2, C3, C4, C5, and C6 may be combined with respective distance data captured by the laser rangefinder to generate 3D sensor images at time t₁, t₂, t₃, t₄, t₅, and t₆, respectively. As described above, in some aspects, the distance data captured by the laser rangefinder may be used to check or verify information (e.g., size and/or distance of objects) derived from corresponding camera data captured by a respective one of the cameras C1-C6 at any given time.

In the example of FIG. 4C, the laser rangefinder is shown to operate in response to triggers (e.g., sensor pulses) from the pulse distribution logic 230. However, for some implementations, the laser rangefinder may capture distance data at a predetermined sampling rate (e.g., 1 Hz) which may not be adjustable and/or controllable by the sensor synchronization system 200. Thus, the example implementations further recognize that it may be desirable to acquire timing information for such asynchronous sensor data, for example, to enable the distance data captured by the laser rangefinder to be combined with corresponding image data captured by the camera modules C1-C6 to generate an accurate 3D sensor image.

Referring back to the example of FIG. 2, the sensor data acquisition interface 240 may process incoming sensor data 202 received from one or more sensor apparatuses. In example implementations, the sensor data acquisition interface 240 may convert the incoming sensor data 202 into clock-synchronized sensor data 204. In some aspects, the sensor data acquisition interface 240 may determine a timing of the incoming sensor data 202 in relation to the local clock signal 214. The timing information may be provided with the clock-synchronized sensor data 204 to enable the corresponding sensor data to be used for vehicle navigation and/or controlling one or more functions or operations of an autonomous vehicle. For example, as described above, the times at which sensor data is captured or acquired may be an important component for generating an accurate 3D sensor image based on the sensor data. Combining mismatched sensor data (e.g., sensor data that is not temporally aligned) may lead to optical distortions or artifacts in the resulting 3D sensor image.

In some examples, the incoming sensor data 202 may include time-synchronized sensor data captured in response to triggers 232 from the pulse distribution logic 230 (e.g., as described above with respect to FIGS. 4A-4C). The interface 240 may determine timing information for the time-synchronized sensor data, for example, by referencing the sensor activation schedule 205. As described above, the sensor activation schedule 205 may indicate the precise data capture (e.g., sensor activation) times, in relation to the local clock signal 214, of any time-synchronized sensor data.

In other examples, the incoming sensor data 202 may include asynchronous sensor data that may not be captured in response to triggers 232 from the sensor synchronization system 200. The interface 240 may determine timing information for the asynchronous sensor data, for example, by comparing the incoming sensor data 202 with the plurality of sensor pulses 222(1)-222(N). More specifically, the interface 240 may determine which of the sensor pulses 222(1)-222(N) most closely coincides with the time at which the asynchronous sensor data is captured or acquired (e.g., received by the sensor data acquisition interface 240). Since each of the sensor pulses 222(1)-222(N) is offset in phase relative to the local clock signal 214 by a predetermined amount, the interface 240 may quickly determine the relative timing of any incoming asynchronous sensor data (e.g., in relation to the local clock signal 214) based on the comparison.

FIG. 5 shows a timing diagram 500 depicting an example method for determining a timing of asynchronous sensor data in relation to a local clock signal that may be implemented by the sensor data acquisition interface 240 of FIG. 2. In an example of FIG. 5, the interface 240 may receive incoming sensor data 202 from six time-synchronized sensors TS1-TS6 that and four asynchronous sensors AS1-AS4. Activation of the time synchronized sensors TS1-TS6 may be directly controlled by the sensor synchronization system 200 (e.g., in accordance with a predetermined sensor activation schedule 205). In contrast, the activation times of the asynchronous sensors AS1-AS4 may not be controllable by the sensor synchronization system 200 (but rather, in reaction to changes in the environment and/or an asynchronous sensor's own internal clock).

Each of the time-synchronized sensors TS1-TS6 captures respective time-synchronized sensor data at each timing interval within a clock cycle (e.g., from times t₁-t₇) of a local clock signal. For example, at time t₁, each of the sensors TS1-TS6 may capture respective sensor data in response to the first sensor pulse SP1; at time t₂, each of the sensors TS1-TS6 may capture respective sensor data in response to the second sensor pulse SP2; at time t₃, each of the sensors TS1-TS6 may capture respective sensor data in response to the third sensor pulse SP3; at time t₄, each of the sensors TS1-TS6 may capture respective sensor data in response to the fourth sensor pulse SP4; at time t₅, each of the sensors TS1-TS6 may capture respective sensor data in response to the fifth sensor pulse SP5; and, at time t₆, each of the sensors TS1-TS6 may capture respective sensor data in response to the sixth sensor pulse SP6.

On the other hand, each of the asynchronous sensors AS1-AS4 may capture respective asynchronous sensor data at different rates and/or times with respect to the time-synchronized sensors TS1-TS6 and other asynchronous sensors AS1-AS4. For example, sensor AS1 may capture sensor data at times t₂ and t₅; sensor AS2 may capture sensor data at times t₁, t₄, and t₆; sensor AS3 may capture sensor data at times t₃ and t₄; and sensor AS4 may capture sensor data at times t₂ and t₆. Since the sensor synchronization system 200 does not control the activation of individual asynchronous sensors AS1-AS4, the system 200 may not have a priori knowledge about the timing relationship between received asynchronous sensor data and/or time-synchronized sensor data.

Although the asynchronous sensors AS1-AS4 may not be triggered or activated by sensor pulses SP1-SP6, as shown in the example of FIG. 5, the asynchronous sensor data captured by each of the sensors AS1-AS4 nonetheless coincides with a respective sensor pulse. For example, the asynchronous sensor data captured at times t₁, t₂, t₃, t₄, t₅, and t₆ may be temporally aligned with sensor pulses SP1, SP2, SP3, SP4, SP5, and SP6, respectively. Thus, in example embodiments, the sensor data acquisition interface 240 may use the corresponding sensor pulses SP1-SP6 to determine the timing relationship between received asynchronous sensor data and/or time-synchronized sensor data. This may enable the asynchronous sensor data to be used for vehicle navigation and/or other vehicle operations. For example, any sensor data (e.g., from time-synchronized sensors TS1-TS6 and/or asynchronous sensors AS1-AS4) that coincides with the same sensor pulse may be combined to generate real-time 3D sensor images.

In some implementations, the sensor data acquisition interface 240 may format the incoming sensor data 202 (e.g., into clock-synchronized sensor data 204) for a particular communications platform implemented by the autonomous vehicle. For example, the interface 240 may include sub-modules for adding a timestamp 242, a header 244, a footer 246, a status bit (SB) 248, and/or other platform-specific information or parameters to the incoming sensor data 202. The added information may enable the incoming sensor data 202 to be recognized and/or processed by one or more processors or controllers of the autonomous vehicle. The timestamp 242 may indicate the time at which corresponding sensor data is captured or acquired in relation to the local clock signal 214. The header 244 and footer 246 may indicate the beginning and end, respectively, of the sensor data (e.g., which may be provided as a payload) received from a particular sensor at a given instance of time. The status bit 248 may be used to perform a parity check and/or verify the validity of the sensor data.

According to some examples, the clock-synchronized sensor data 204 can be structured into a message (or messages) which enable the underlying data (sensor values synchronized in time) to be storable and/or transportable. For example, the clock-synchronized sensor data 204 can be stored in memory so that aspects of a given trip can be reproduced at a later time. Alternatively, some clock-synchronized sensor data 204 can be transmitted to other vehicles or to a network service. The clock-synchronized sensor data 204 can be structured so that the sensor data 202 can be transferred (e.g., transmitted over a cellular network to a server) while precisely maintaining contextual information relating to the sensor data 202, including time stamp and identification of source of the sensor data 202.

FIG. 6 shows an example of an autonomous vehicle 610 that uses sensor data to navigate an environment 600 in accordance with example implementations. In an example of FIG. 6, the autonomous vehicle 610 may include various sensors, such as a roof-top camera array (RTC) 622, front-facing cameras 624 and laser rangefinders 630. A processing center 625, comprising a combination of one or more processors and memory units can be positioned in a trunk of the vehicle 610.

According to an example, the vehicle 610 uses one or more sensor views 603 (e.g., a stereoscopic or 3D image of the environment 600) to scan a road segment on which the vehicle 610 is about to traverse. The vehicle 610 can process image data, corresponding to the sensor views 603 from one or more sensors in order to detect objects that are, or may potentially be, in the path of the vehicle 610. In an example shown, the detected objects include a bicyclist 602, a pedestrian 604, and another vehicle 625, each of which may potentially cross into a road segment 615 on which the vehicle 610 is about to traverse. The vehicle 610 can use information about the road segment and/or image data from the sensor views 603 to determine that the road segment includes a divider 617 and an opposite lane, as well as a sidewalk (SW) 621 and sidewalk structures such as parking meters (PM) 627.

The vehicle 610 may determine the location, size, and/or distance of objects in the environment 600 based on the sensor view 603. For example, the sensor views 603 may be 3D sensor images that combine sensor data from the roof-top camera array 622, front-facing cameras 624, and/or laser rangefinders 630. In some implementations, the vehicle 610 may implement the sensor synchronization system 200 of FIG. 2 to determine the relative timing of sensor data received from the various sensors (e.g., in relation to other sensor data and/or a local clock signal of the vehicle 610). This may allow the vehicle 610 to update the sensor views 603 in real-time as the vehicle 610 moves along its designed rate. Accordingly, the vehicle may accurately detect the presence of objects in the environment 600, allowing the vehicle to safely navigate the route while avoiding collisions with other objects.

According to examples, the vehicle 610 may determine a probability that one or more objects in the environment 600 will interfere or collide with the vehicle 610 along the vehicle's current path or route. In some aspects, the vehicle 610 may selectively perform an avoidance action based on the probability of collision. The avoidance actions may include velocity adjustments, lane aversion, roadway aversion (e.g., change lanes or driver far from curb), light or horn actions, and other actions. In some aspects, the avoidance action may run counter to certain driving conventions and/or rules (e.g., allowing the vehicle 610 to drive across center line to create space with bicyclist).

In an example, the sensor synchronization system 200 may enable the vehicle 610 to accurately determine that the parking meters 627 are fixed objects (e.g., based on their relatively static or stable locations in the sensor views 603). Thus, the vehicle 610 may navigate around the parking meters 627 at higher speeds, since the parking meters 627 are unlikely to cross into the path of the oncoming vehicle 610. In contrast, without accurate timing of sensor data, the vehicle 610 could potentially detect the parking meters 627 as moving objects, for example, based on optical distortions or artifacts in the sensor views 603 and/or inconsistent distance information from multiple sensors (e.g., when attempting to combine sensor data taken at different times). This could cause the vehicle 610 to unnecessarily slow down or drive more cautiously when approaching the parking meters 627.

In another example, the sensor synchronization system 200 may enable the vehicle 610 to accurately determine that the bicyclist 602 and pedestrian 604 are moving objects (e.g., based on changes to their locations in the sensor views 603). Thus, the vehicle 610 may slow down or drive more cautiously when approaching the bicyclist 602 and/or pedestrian 604. In contrast, without accurate timing of sensor data, the vehicle 610 could potentially detect the bicyclist 602 and/or pedestrian 604 as stationary objects, for example, based on optical distortions or artifacts in the sensor views 603 and/or inconsistent distance information from multiple sensors (e.g., when attempting to combine sensor data taken at different times). This could cause the vehicle 610 to drive at unsafe speeds when navigating around the bicyclist 602 and/or pedestrian 604.

Methodology

FIG. 7 shows a flowchart of an example operation 700 for triggering time-synchronized capture of sensor data. The operation 700 can be implemented, for example, by the sensor synchronization system 200 of FIG. 2. Accordingly, references made to the elements of FIG. 2 are for purposes of illustrating a suitable element or component for performing a step or sub-step being described.

The sensor synchronization system 200 first synchronizes a local clock signal with an external timing signal (710). For example, the local clock signal 214 may be used as a reference signal, for timing purposes, by other elements and/or components of an autonomous vehicle. In example implementations, the system 200 may receive a PPS signal 201 from a GPS receiver (not shown). As described above, the PPS signal 201 may be a highly accurate and reliable external timing signal derived from satellite signals. In some aspects, the local CLK synchronization circuitry 212 may align the phase of a local clock signal 214 with the PPS signal 201. For example, the CLK synchronization circuitry 212 may include a PLL that generates the local clock signal 214 based at least in part on the PPS signal 201.

The system 200 may generate a plurality of sensor pulses that are each offset in phase relative to the local clock signal by a respective amount (720). In example implementations, the sensor pulse generator 220 may generate the sensor pulses by dividing a clock cycle of the local clock signal 214 into a number (N) of timing intervals, and generate a corresponding number (N) of sensor pulses such that each sensor pulse coincides (e.g., is aligned) with a respective timing interval (e.g., as described above with respect to FIG. 3). In some aspects, the number (N) of sensor pulses generated per clock cycle of the local clock signal 214 may depend on a desired granularity of timing. For example, a higher granularity (e.g., corresponding to more sensor pulses) may yield more precise timing information.

In some aspects, the system 200 may determine a sensor activation schedule for activating each sensor of a given sensor apparatus (730). For example, the sensor activation schedule 205 may describe or otherwise indicate respective activation times for each of a plurality of sensors. More specifically, each sensor activation time may correspond with a capturing of sensor data by a respective sensor of the sensor apparatus. As described above with respect to the example sensor activation schedules shown in Tables 1-3, each sensor activation time may coincide with one of the plurality of sensor pulses (e.g., within a given clock cycle of the local clock signal 214). In some aspects, the sensor activation schedule 205 may be determined based, at least in part, on one or more operating parameters of the autonomous vehicle (e.g., vehicle speed, desired sensor framerate or resolution, etc.)

The system 200 may then transmit one or more sensor pulses to each sensor of the sensor apparatus in accordance with the sensor activation schedule (740). In example implementations, the pulse distribution logic 230 may package or distribute the sensor pulses, in accordance with sensor activation schedule 205, as triggers 232 for activating each of the plurality of sensors. For example, each trigger 232 may contain one or more sensor pulses intended for a particular sensor. More specifically, each sensor pulse included with a trigger 232 may cause the receiving sensor to capture respective sensor data at one of a plurality of predetermined timing intervals (e.g., in relation to the local clock signal 214). In some aspects, the pulse distribution logic 230 may repeat or reuse the same sensor activation schedule 205 for subsequent clock cycles of the local clock signal 214. In other aspects, the pulse distribution logic 230 may modify the existing sensor activation schedule 205 or select a new sensor activation schedule to be used in subsequent clock cycles.

Finally, the system 200 may receive sensor data from individual sensors in response to the sensor pulses (750). As described above with respect to FIGS. 4A-4C, each of the plurality of sensors (e.g., camera modules C1-C6) may capture respective sensor data, at predetermined time intervals (e.g., at times t₁, t₂, t₃, t₄, t₅, or t₆), in response to at least one of the plurality of sensor pulses (e.g., sensor pulses SP1-SP6). In example implementations, the sensor data acquisition interface 240 may process incoming sensor data 202 received from one or more sensor apparatuses. In some aspects, the sensor data acquisition interface 240 may convert the incoming sensor data 202 into clock-synchronized sensor data 204, for example, by determining a timing of the incoming sensor data 202 in relation to the local clock signal 214.

FIG. 8 shows a flowchart of an example operation 800 for determining a timing of asynchronous sensor data in relation to a local clock signal. The operation 800 can be implement, for example, by the sensor synchronization system 200 of FIG. 2. Accordingly, references made to the elements of FIG. 2 are for purposes of illustrating a suitable element or component for performing a step or sub-step being described.

The sensor synchronization system 200 may first synchronize a local clock signal with an external timing signal (810). For example, the local clock signal 214 may be used as a reference signal, for timing purposes, by other elements and/or components of an autonomous vehicle. In example implementations, the system 200 may receive a PPS signal 201 from a GPS receiver (not shown). As described above, the PPS signal 201 may be a highly accurate and reliable external timing signal derived from satellite signals. In some aspects, the local CLK synchronization circuitry 212 may align the phase of a local clock signal 214 with the PPS signal 201. For example, the CLK synchronization circuitry 212 may include a PLL that generates the local clock signal 214 based at least in part on the PPS signal 201.

The system 200 may generate a plurality of sensor pulses that are each offset in phase relative to the local clock signal by a respective amount (820). In example implementations, the sensor pulse generator 220 may generate the sensor pulses by dividing a clock cycle of the local clock signal 214 into a number (N) of timing intervals, and generate a corresponding number (N) of sensor pulses such that each sensor pulse coincides (e.g., is aligned) with a respective timing interval (e.g., as described above with respect to FIG. 3). In some aspects, the number (N) of sensor pulses generated per clock cycle of the local clock signal 214 may depend on a desired granularity of timing. For example, a higher granularity (e.g., corresponding to more sensor pulses) may yield more precise timing information.

The system 200 may then receive sensor data from one or more sensor apparatuses (830), and determine one or more sensor pulses that coincide with times at which the sensor data was captured (840). For example, the received sensor data may include asynchronous sensor data that may not be captured in response to triggers 232 from the sensor synchronization system 200. In example implementations, the sensor data acquisition interface 240 may compare the incoming sensor data with the plurality of sensor pulses to determine which of the sensor pulses most closely coincides with the time at which the sensor data was captured or acquired (e.g., received by the sensor data acquisition interface 240). As described above with respect to FIG. 5, the sensor data acquisition interface 240 may use the corresponding sensor pulses (e.g., sensor pulses SP1-SP6) determine the timing relationship between received asynchronous sensor data (e.g., from asynchronous sensors AS1-AS4).

Finally, the system 200 may determine a timing of the received sensor data in relation to the local clock signal (850). Since each of the sensor pulses is offset in phase relative to the local clock signal 214 by a predetermined (e.g., known) amount, the sensor data acquisition interface 240 may quickly determine the relative timing of any incoming asynchronous sensor data (e.g., in relation to the local clock signal 214) based on the sensor pulse that coincides with the received sensor data. An autonomous vehicle's system controller (e.g., sensor mapping logic 122) may then use the timing information, for example, to construct an accurate 3D sensor image of the vehicle's environment (e.g., by combining multiple sensor data that is captured and/or acquired at substantially the same time).

FIG. 9 shows a flowchart of an example operation 900 for formatting sensor data for use by an autonomous vehicle platform. The operation 900 can be implemented, for example, by the sensor synchronization system 200 of FIG. 2. Accordingly, references made to the elements of FIG. 2 are for purposes of illustrating a suitable element or component for performing a step or sub-step being described.

The sensor synchronization system 200 may first generate a plurality of sensor pulses that are each offset in phase relative to the local clock signal by a respective amount (910). In example implementations, the sensor pulse generator 220 may generate the sensor pulses by dividing a clock cycle of the local clock signal 214 into a number (N) of timing intervals, and generate a corresponding number (N) of sensor pulses such that each sensor pulse coincides (e.g., is aligned) with a respective timing interval (e.g., as described above with respect to FIG. 3). In some aspects, the number (N) of sensor pulses generated per clock cycle of the local clock signal 214 may depend on a desired granularity of timing. For example, a higher granularity (e.g., corresponding to more sensor pulses) may yield more precise timing information.

The system 200 may then receive sensor data from one or more sensor apparatuses (920), and determine one or more sensor pulses that coincide with times at which the sensor data was captured (930). For example, the received sensor data may include asynchronous sensor data that may not be captured in response to triggers 232 from the sensor synchronization system 200. In example implementations, the sensor data acquisition interface 240 may compare the incoming sensor data with the plurality of sensor pulses to determine which of the sensor pulses most closely coincides with the time at which the sensor data was captured or acquired (e.g., received by the sensor data acquisition interface 240). As described above with respect to FIG. 5, the sensor data acquisition interface 240 may use the corresponding sensor pulses (e.g., sensor pulses SP1-SP6) determine the timing relationship between received asynchronous sensor data (e.g., from asynchronous sensors AS1-AS4).

Finally, the system 200 may format the received sensor data for use by an autonomous vehicle platform (940). In example implementations, the sensor data acquisition interface 240 may format incoming sensor data 202 into clock-synchronized sensor data 204. The clock-synchronized sensor data 204 may be in a format that can be recognized and/or processed by one or more processors or controllers of the autonomous vehicle. In some aspects, the sensor data acquisition interface 240 may include sub-modules for adding a timestamp 242, a header 244, a footer 246, a status bit (SB) 248, and/or other platform-specific information or parameters to the incoming sensor data 202. For example, the timestamp 242 may indicate the time at which corresponding sensor data is captured or acquired in relation to the local clock signal 214. The header 244 and footer 246 may indicate the beginning and end, respectively, of the sensor data (e.g., which may be provided as a payload) received from a particular sensor at a given instance of time. The status bit 248 may be used to perform a parity check and/or verify the validity of the sensor data.

Hardware Diagrams

FIG. 10 shows a block diagram of a sensor control system 1000 that may be implemented on an autonomous vehicle, in accordance with example embodiments. The sensor control system 1000 can be implemented using one or more processors 1004, memory resources 1006, a number of time-synchronized sensors 1022, and a number of asynchronous sensors 1028. In the context of FIGS. 1 and 2, control system 100 and/or sensor synchronization system 200 can be implemented using one or more components of the sensor control system 1000.

According to some examples, the sensor control system 1000 may be implemented within an autonomous vehicle with software and hardware resources such as described with examples of FIGS. 1, 2, and 7-9. In an example shown, the sensor control system 1000 can be distributed spatially into various regions of a vehicle. For example, the processors 1004 and/or memory resources 1006 can be provided in the trunk of a vehicle. The various processing resources of the sensor control system 1000 can also include distributed sensor logic 1034, which can be implemented using microprocessors or integrated circuits. In some examples, the distributed sensor logic 1034 can be implemented using field-programmable gate arrays (FPGA).

In an example of FIG. 10, the sensor control system 1000 can include a local communication interface 1026 (or series of local links) to vehicle interfaces and other resources of an autonomous vehicle. In one implementation, the local communication interface 1026 provides a data bus or other local link to electro-mechanical interfaces of the vehicle, such as used to operate steering, acceleration and braking, as well as to data resources of the vehicle (e.g., vehicle processor, OBD memory, etc.). The sensor control system 1000 may further include multiple communication interfaces, such as real-time communication interface 1018 and asynchronous communication interface 1038. The various communication interfaces 1018 and 1038 can send and receive communications to other vehicles, central services, human assistance operators, or other remote entities for a variety of purposes.

One or more of the communication interfaces 1018 and/or 1038 can enable the autonomous vehicle to communicate with one or more networks (e.g., cellular network) through use of a network link 1019, which can be wireless or wired. The sensor control system 1000 can establish and use multiple network links 1019 at the same time. Using the network link 1019, the sensor control system 1000 can communicate with one or more remote entities, such as network services or human operators. In one implementation, the real-time communication interface 1018 can be optimized to communicate information instantly, in real-time to remote entities (e.g., human assistance operators). In contrast, the asynchronous communication interface 1038 may communicate information at predetermined intervals and/or according to a schedule (e.g., vehicle status updates, software updates, etc.).

The memory resources 1006 can include, for example, main memory, a read-only memory (ROM), storage device, and cache resources. The main memory of memory resources 1006 can include random access memory (RAM) or other dynamic storage device, for storing information and instructions which are executable by the processors 1004. The processors 1004 can execute instructions for processing information stored with the main memory of the memory resources 1006. The main memory can also store temporary variables or other intermediate information which can be used during execution of instructions by one or more of the processors 1004. The memory resources 1006 can also include ROM or other static storage device for storing static information and instructions for one or more of the processors 1004. The memory resources 1006 can also include other forms of memory devices and components, such as a magnetic disk or optical disk, for purpose of storing information and instructions for use by one or more of the processors 1004.

According to some examples, the memory 1006 may store a plurality of software instructions including, for example, sensor pulse (SP) generation software 1012, sensor data (SD) capture software 1014, sensor data read software 1016, and sensor data format software 1018. During runtime (e.g., when the vehicle is operational), the software instructions 1012-1018 may be executed by one or more of the processors 1004 and/or distributed sensor logic 1034 in order to implement functionality such as described with respect to the autonomous vehicle control system 100 of FIG. 1 and/or the sensor synchronization system 200 of FIG. 2.

For example, in operating an autonomous vehicle, the distributed sensor logic 1034, in combination with one or more of the processors 1004, may execute the sensor pulse generation software 1012 to generate a plurality of sensor pulses that are each offset in phase relative to a local clock signal by a respective amount (e.g., as described above with respect to FIG. 3). Further, the distributed sensor logic 1034, in combination with the one or more processors 1004, may execute the sensor data capture software 1014 to activate a plurality of sensors of the sensor apparatus based at least in part on the plurality of sensor pulses. For example, in executing the sensor data capture software 1014, the distributed sensor logic 1034 may transmit triggers 1023 to the time-synchronized sensors 1022 to capture sensor data 1021 at predetermined times, in accordance with a sensor activation schedule (e.g., as described above with respect to FIGS. 4A-4C).

In some aspects, the distributed sensor logic 1034, in combination with one or more of the processors 1004, may execute the sensor data read software 1016 to determine timing information of received sensor data. For example, in executing the sensor data read software 1016, the distributed sensor logic 1034 may determine a timing of the sensor data 1021 received from one or more of the asynchronous sensors 1028 in relation to the local clock signal. In example implementations, the relative timing of the received sensor data 1021 may be determined, at least in part, by comparing the sensor data 1021 with the plurality of sensor pulses and selecting one of the sensor pulses that coincides with the sensor data 1021 received from each of the plurality of sensors (e.g., as described above with respect to FIG. 5).

Still further, in some aspects, the distributed sensor logic 1034, in combination with one or more of the processors 1004, may execute the sensor data format software 1018 to convert incoming sensor data to a format suitable for a communications platform of the autonomous vehicle. For example, in executing the sensor data format software 1018, the distributed sensor logic 1034 may add at least one of a header, footer, timestamp, or status bits to the received sensor data 1021. The timestamp may indicate the time at which corresponding sensor data is captured or acquired in relation to the local clock signal. The header and footer may indicate the beginning and end, respectively, of the sensor data received from a particular sensor at a given instance of time. The status bit may be used to perform a parity check and/or verify the validity of the sensor data.

It is contemplated for embodiments described herein to extend to individual elements and concepts described herein, independently of other concepts, ideas or system, as well as for embodiments to include combinations of elements recited anywhere in this application. Although embodiments are described in detail herein with reference to the accompanying drawings, it is to be understood that the invention is not limited to those precise embodiments. As such, many modifications and variations will be apparent to practitioners skilled in this art. Accordingly, it is intended that the scope of the invention be defined by the following claims and their equivalents. Furthermore, it is contemplated that a particular feature described either individually or as part of an embodiment can be combined with other individually described features, or parts of other embodiments, even if the other features and embodiments make no mentioned of the particular feature. Thus, the absence of describing combinations should not preclude the inventor from claiming rights to such combinations. 

What is claimed is:
 1. A method of acquiring data from a first sensor apparatus, the method comprising: synchronizing a local clock signal with an external timing signal; dividing a clock cycle of the local clock signal into a plurality of timing intervals, wherein the number of timing intervals is based at least in part on a framerate or resolution of a second sensor apparatus; generating a plurality of sensor pulses based at least in part on framerates or resolutions of each of a plurality of sensors of the first sensor apparatus, wherein each of the plurality of sensor pulses are aligned with a respective one of the timing intervals; receiving sensor data from the first sensor apparatus; and determining a timing of the sensor data in relation to the local clock signal based at least in part on the plurality of sensor pulses.
 2. The method of claim 1, wherein the timing of the sensor data corresponds to a time at which the sensor data was captured by the first sensor apparatus.
 3. The method of claim 2, wherein the determining comprises: determining which of the plurality of sensor pulses coincides with the time at which the sensor data was captured.
 4. The method of claim 1, further comprising: receiving the external timing signal from a global positioning system (GPS) receiver.
 5. The method of claim 4, wherein the external timing signal is a pulse per second (PPS) signal.
 6. The method of claim 1, wherein the second sensor apparatus corresponds to a machine vision camera for an autonomous vehicle.
 7. The method of claim 6, further comprising: generating a three-dimensional sensor image for navigating the autonomous vehicle based at least in part on the sensor data received from the first sensor apparatus.
 8. The method of claim 1, wherein the first sensor apparatus includes at least one of an inertial measurement unit (IMU), a rotary encoder, or radar.
 9. A sensor synchronization system, comprising: clock synchronization circuitry to synchronize a local clock signal with an external timing signal; a memory that stores instructions for acquiring data from a first sensor apparatus; and one or more processors that, upon executing the instructions, cause the sensor synchronization system to: divide a clock cycle of the local clock signal into a plurality of timing intervals, wherein the number of timing intervals is based at least in part on a framerate or resolution of a second sensor apparatus; generate a plurality of sensor pulses based at least in part on framerates or resolutions of each of a plurality of sensors of the first sensor apparatus, wherein each of the plurality of sensor pulses are aligned with a respective one of the timing intervals; receive sensor data from the first sensor apparatus; and determine a timing of the sensor data in relation to the local clock signal based at least in part on the plurality of sensor pulses.
 10. The sensor synchronization system of claim 9, wherein the clock synchronization circuitry comprises a phase-locked loop (PLL).
 11. The sensor synchronization system of claim 9, wherein the timing of the sensor data corresponds to a time at which the sensor data was captured by the first sensor apparatus.
 12. The sensor synchronization system of claim 11, including further instructions to: determining which of the plurality of sensor pulses coincides with the time at which the sensor data was captured.
 13. The sensor synchronization system of claim 9, wherein the clock synchronization circuitry receives the external timing signal from a global positioning system (GPS) receiver.
 14. The sensor synchronization system of claim 13, wherein the external timing signal is a pulse per second (PPS) signal.
 15. The sensor synchronization system of claim 9, wherein the number of timing intervals is based at least in part on a framerate or resolution of a machine vision camera for an autonomous vehicle.
 16. The sensor synchronization system of claim 15, including further instructions to: generate a three-dimensional sensor image for navigating the autonomous vehicle based at least in part on the sensor data received form the first sensor apparatus.
 17. A non-transitory computer-readable storage medium containing instructions that, when executed by a processor of a sensor synchronization system, causes the sensor synchronization system to: synchronize a local clock signal with an external timing signal; divide a clock cycle of the local clock signal into a plurality of timing intervals, wherein the number of timing intervals is based at least in part on a framerate or resolution of a second sensor apparatus; generate a plurality of sensor pulses based at least in part on framerates or resolutions of each of a plurality of sensors of a first sensor apparatus, wherein each of the plurality of sensor pulses are aligned with a respective one of the timing intervals; receive sensor data from the first sensor apparatus; and determine a timing of the sensor data in relation to the local clock signal based at least in part on the plurality of sensor pulses. 